package com.jandar.ds.mapper;

import com.jandar.ds.pojo.DbScript;
import com.jandar.ds.pojo.DbScriptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface DbScriptMapper {
    long countByExample(DbScriptExample example);

    int deleteByExample(DbScriptExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DbScript row);

    int insertSelective(DbScript row);

    List<DbScript> selectByExampleWithBLOBs(DbScriptExample example);

    List<DbScript> selectByExample(DbScriptExample example);

    DbScript selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") DbScript row, @Param("example") DbScriptExample example);

    int updateByExampleWithBLOBs(@Param("row") DbScript row, @Param("example") DbScriptExample example);

    int updateByExample(@Param("row") DbScript row, @Param("example") DbScriptExample example);

    int updateByPrimaryKeySelective(DbScript row);

    int updateByPrimaryKeyWithBLOBs(DbScript row);

    int updateByPrimaryKey(DbScript row);
}